//
//  FontSizeManage.m
//  日夜间(范阳)
//
//  Created by dllo on 15/11/2.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "FontSizeManage.h"

static FontSizeManage *single;
@implementation FontSizeManage
+ (FontSizeManage *)ChangeSize
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        single = [[FontSizeManage alloc]init];
    });
    return single;
}
-(void)setFontSize:(NSInteger )fontSize
{
    switch (fontSize) {
        case 0:
            self.titleFont = [UIFont systemFontOfSize:20];
            self.contectFont = [UIFont systemFontOfSize:17];
            break;
        case 1:self.titleFont = [UIFont systemFontOfSize:17];
            self.contectFont = [UIFont systemFontOfSize:15];
            break;
        case 2:self.titleFont = [UIFont systemFontOfSize:15];
            self.contectFont = [UIFont systemFontOfSize:13];
            break;
            
        default:
            break;
    }
}

@end
